package com.example.springbootenableother;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.TYPE})
//通过import来搞定这些bean的引入
@Import({UserConfig.class})
public @interface EnableUser {
}
